package com.shinbada.modules.competitor.mapper;

import com.shinbada.modules.competitor.entity.CompetitorProductDataItem;
import org.springframework.stereotype.Repository;
import com.shinbada.core.persistence.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.shinbada.modules.competitor.entity.CompetitorControlDataItem;

import java.util.List;

/**
 * 控制器-数据项MAPPER接口
 * @author initcap
 * @version 2021-08-05
 */
@Mapper
@Repository
public interface CompetitorControlDataItemMapper extends BaseMapper<CompetitorControlDataItem> {
    /**
     * 控制器根据数据项名称和类型获取对应数据集
     * @param competitorProductDataItem
     * @return
     */
    List<CompetitorControlDataItem> getDataListByNameAndType(CompetitorProductDataItem competitorProductDataItem);
}
